package com.tools.scanner.bean

data class ApiResponse<T>(
    val code: Int,
    val message: String,
    val data: T
) {
    fun isSuccess(): Boolean {
        return code == 200
    }
}